<extend name="Base/common" />
<block name="assign"><assign name="title" value="配置" /></block>
<block name="content">
        <div class="page-header">
            <h3>配置你的连接信息 <small>将使用Session储存</small></h3>
        </div>
        <form role="form" action="{:U('setAction')}" method="POST">
            <div class="form-group row">
                <label class="col-sm-4 control-label">Access Key ID</label>
                <div class=" col-sm-8">
                    <input class="form-control" type="text" name="AccessKeyId">
                </div>
            </div>
            
            <div class="form-group row">
                <label class="col-sm-4 control-label">Access Key Secret</label>
                <div class=" col-sm-8">
                    <input class="form-control" type="text" name="AccessKeySecret">
                </div>
            </div>
            
            <div class="form-group row">
                <label class="col-sm-4 control-label">Domain Name</label>
                <div class="col-sm-8">
                    <select class="form-control" name="Endpoint">
                        <option value="http://oss-cn-qingdao.aliyuncs.com">青岛-外网</option>
                        <option value="http://oss-cn-qingdao-internal.aliyuncs.com">青岛-内网</option>
                        <option value="http://oss-cn-beijing.aliyuncs.com">北京-外网</option>
                        <option value="http://oss-cn-beijing-internal.aliyuncs.com">北京-内网</option>
                        <option value="http://oss-cn-hangzhou.aliyuncs.com">杭州-外网</option>
                        <option value="http://oss-cn-hangzhou-internal.aliyuncs.com">杭州-内网</option>
                        <option value="http://oss-cn-hongkong.aliyuncs.com">香港-外网</option>
                        <option value="http://oss-cn-hongkong-internal.aliyuncs.com">香港-内网</option>
                    </select>
                </div>
            </div>
            <button type="submit" class="btn btn-success btn-block btn-danger">Save</button>
        </form>
</block>